package com.hksj.Intelligentmanagement.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
@TableName("t_department")
public class DepartmentEntity extends BaseEntity{
    @ApiModelProperty("科室名")
    private String departmentName;

    @ApiModelProperty("区域表id")
    private String regionId;

    //逻辑删除
    @ApiModelProperty("逻辑删除")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer delFlag;

    //启用状态
    @ApiModelProperty("状态")
    private String status;


}
